//
//  RootViewController.h
//  123Mua_Modules
//
//  Created by duong nguyen on 11/3/12.
//  Copyright (c) 2012 uit. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CategoryModel.h"

@interface RootViewController : UITableViewController<UITableViewDelegate,UITableViewDataSource>
{
    NSMutableArray *categoryArray;
    int indexToCollapse;
    Boolean isDuplicated;
    
    UISwipeGestureRecognizer *gestureDown;
    UISwipeGestureRecognizer *gestureUp;
}

@property (nonatomic,retain) NSMutableArray *categoryArray;
@property (nonatomic) int indexToCollapse;
@property (nonatomic) Boolean isDuplicated;

@property (nonatomic,retain) UISwipeGestureRecognizer *gestureDown;
@property (nonatomic,retain) UISwipeGestureRecognizer *gestureUp;

-(void)loadCategoryData;
-(void) miniMizeRow:(CategoryModel *)model;
-(void) accessoryViewAnimation:(CategoryModel *)model withRotate:(float) radian;
@end
